<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/admin/lib/layui/css/layui.css"  media="all">
    <style>
        .layui-form-item{
            margin-top: 15px;
        }
        .layui-input{
            width:80%;
        }
    </style>
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>
<body>
<div class="layui-col-md8 layui-col-xs12">
<form class="layui-form" method="post" action="/admin/type/store" lay-filter="example">
    <div class="layui-form-item">
        <input type="hidden" name="id" id="id">
        <label class="layui-form-label">分类名</label>
        <div class="layui-input-block">
            <input type="text" name="title" id="title" lay-verify="required" autocomplete="off" placeholder="请输入分类名" class="layui-input">
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </div>
</form>
</div>
</body>
</html>
<script src="/admin/lib/layui/layui.js" charset="utf-8"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script>

</script>
